﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WMM.Tapioca.Linkbase;

namespace WMM.Tapioca.Formula.Filters
{
    /// <summary>
    /// The base class of EndPeriodFilter, StartPeriodFilter and PeriodInstantFilter.
    /// </summary>
    public abstract class PeriodFilter : Filter
    {
        private string date;

        /// <returns> Date. </returns>
        public string Date
        {
            get { return date; }
            set { date = value; }
        }

        private string time;

        public string Time
        {
            get { return time; }
            set { time = value; }
        }

        private DateTime dateT;

        public DateTime DateT
        {
            get { return dateT; }
            set { dateT = value; }
        }

        public PeriodFilter(Resource resource)
            : base(resource)
        {
        }

    }
}
